<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>招聘会列表 - 职场社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome 图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <style>
        :root {
            --primary: #3b7ddd;
            --primary-light: #5a96e3;
            --secondary: #ff5722;
            --success: #4caf50;
            --warning: #ff9800;
            --danger: #f44336;
            --text-primary: #333333;
            --text-secondary: #666666;
            --text-tertiary: #999999;
            --bg-light: #f5f7fa;
            --bg-white: #ffffff;
            --bg-gray: #eeeeee;
            --border-light: #e0e0e0;
            --radius: 8px;
            --radius-sm: 4px;
            --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            padding-top: 55px;
            padding-bottom: 65px;
            line-height: 1.5;
        }
        
        /* 顶部导航 */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 55px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
        }
        
        .nav-title {
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .nav-action {
            color: var(--text-secondary);
            background: none;
            border: none;
            font-size: 1.2rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .nav-action.primary {
            color: var(--primary);
        }
        
        /* 搜索区域 */
        .search-container {
            padding: 12px 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
        }
        
        .search-box {
            position: relative;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 16px 10px 40px;
            border-radius: 20px;
            border: 1px solid var(--border-light);
            background-color: var(--bg-light);
            font-size: 0.9rem;
            outline: none;
        }
        
        .search-input:focus {
            border-color: var(--primary);
            background-color: var(--bg-white);
        }
        
        .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-tertiary);
            font-size: 0.95rem;
        }
        
        /* 筛选标签 */
        .filter-tags {
            padding: 8px 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            overflow-x: auto;
            scrollbar-width: none;
        }
        
        .filter-tags::-webkit-scrollbar {
            display: none;
        }
        
        .tags-container {
            display: flex;
            gap: 8px;
            white-space: nowrap;
        }
        
        .filter-tag {
            padding: 6px 14px;
            border-radius: 16px;
            font-size: 0.85rem;
            background-color: var(--bg-light);
            color: var(--text-secondary);
            border: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .filter-tag.active {
            background-color: var(--primary);
            color: white;
        }
        
        .filter-tag .icon {
            font-size: 0.9rem;
        }
        
        /* 招聘会列表 */
        .fair-list {
            padding: 12px;
        }
        
        .fair-card {
            background-color: var(--bg-white);
            border-radius: var(--radius);
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.2s ease;
        }
        
        .fair-card:hover {
            transform: translateY(-2px);
        }
        
        /* 无图样式 */
        .fair-card.no-image {
            padding: 16px;
        }
        
        /* 单图样式 */
        .fair-card.single-image .fair-image-container {
            height: 180px;
            overflow: hidden;
        }
        
        /* 多图样式 */
        .fair-card.multi-image .fair-image-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3px;
        }
        
        .fair-image {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .fair-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .fair-card:hover .fair-image img {
            transform: scale(1.03);
        }
        
        .fair-content {
            padding: 16px;
        }
        
        .fair-status {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            margin-bottom: 8px;
        }
        
        .status-upcoming {
            background-color: rgba(76, 175, 80, 0.1);
            color: var(--success);
        }
        
        .status-live {
            background-color: rgba(255, 87, 34, 0.1);
            color: var(--secondary);
            animation: pulse 1.5s infinite;
        }
        
        .status-ended {
            background-color: rgba(153, 153, 153, 0.1);
            color: var(--text-tertiary);
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.6; }
            100% { opacity: 1; }
        }
        
        .fair-title {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .fair-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.8rem;
            color: var(--text-tertiary);
            margin-bottom: 10px;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .meta-icon {
            font-size: 0.9rem;
        }
        
        .fair-organizer {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .organizer-logo {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .organizer-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .fair-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 12px;
        }
        
        .fair-tag {
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            background-color: var(--bg-light);
            color: var(--text-secondary);
        }
        
        .fair-desc {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .fair-stats {
            display: flex;
            gap: 16px;
            font-size: 0.8rem;
            color: var(--text-tertiary);
            padding-top: 8px;
            border-top: 1px solid var(--border-light);
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .fair-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
        }
        
        .action-btn {
            padding: 6px 16px;
            border-radius: 4px;
            font-size: 0.85rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-light);
        }
        
        .btn-outline {
            background-color: transparent;
            color: var(--primary);
            border: 1px solid var(--primary);
        }
        
        .btn-outline:hover {
            background-color: rgba(59, 125, 221, 0.1);
        }
        
        /* 空状态 */
        .empty-state {
            padding: 60px 20px;
            text-align: center;
            display: none;
        }
        
        .empty-state.active {
            display: block;
        }
        
        .empty-icon {
            font-size: 3rem;
            color: var(--text-tertiary);
            margin-bottom: 16px;
        }
        
        .empty-text {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin-bottom: 24px;
        }
        
        .empty-action {
            padding: 8px 24px;
            border-radius: 20px;
            background-color: var(--primary);
            color: white;
            border: none;
            font-size: 0.9rem;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-light);
            z-index: 1000;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 0.7rem;
            gap: 4px;
            flex: 1;
            height: 100%;
            text-decoration: none;
        }
        
        .nav-item.active {
            color: var(--primary);
        }
        
        .nav-icon {
            font-size: 1.2rem;
        }
        
        /* 筛选抽屉 */
        .filter-drawer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--bg-white);
            border-top-left-radius: var(--radius);
            border-top-right-radius: var(--radius);
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1010;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .filter-drawer.open {
            transform: translateY(0);
        }
        
        .drawer-header {
            padding: 16px;
            border-bottom: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .drawer-title {
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .close-drawer {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: var(--text-secondary);
        }
        
        .drawer-content {
            padding: 16px;
        }
        
        .filter-section {
            margin-bottom: 20px;
        }
        
        .filter-section-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .filter-option {
            padding: 6px 14px;
            border-radius: 6px;
            font-size: 0.85rem;
            border: 1px solid var(--border-light);
            background-color: var(--bg-white);
            color: var(--text-secondary);
        }
        
        .filter-option.active {
            border-color: var(--primary);
            background-color: rgba(59, 125, 221, 0.1);
            color: var(--primary);
        }
        
        .date-range {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .date-input {
            flex: 1;
            padding: 8px 12px;
            border-radius: 6px;
            border: 1px solid var(--border-light);
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .drawer-actions {
            padding: 16px;
            border-top: 1px solid var(--border-light);
            display: flex;
            gap: 12px;
        }
        
        .drawer-btn {
            flex: 1;
            padding: 12px 0;
            border-radius: var(--radius-sm);
            font-size: 0.95rem;
            font-weight: 500;
        }
        
        .reset-btn {
            background-color: var(--bg-gray);
            color: var(--text-secondary);
            border: none;
        }
        
        .apply-btn {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1005;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .overlay.show {
            opacity: 1;
            pointer-events: auto;
        }
        
        /* 提示消息 */
        .toast {
            position: fixed;
            bottom: 70px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            z-index: 9999;
            font-size: 0.85rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .toast.show {
            opacity: 1;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="top-nav">
        <button class="nav-action" id="backBtn">
            <i class="fas fa-arrow-left"></i>
        </button>
        <div class="nav-title">招聘会列表</div>
        <button class="nav-action primary" id="filterBtn">
            <i class="fas fa-filter"></i>
        </button>
    </div>
    
    <!-- 搜索区域 -->
    <div class="search-container">
        <div class="search-box">
            <i class="fas fa-search search-icon"></i>
            <input type="text" class="search-input" placeholder="搜索招聘会、企业或行业...">
        </div>
    </div>
    
    <!-- 筛选标签 -->
    <div class="filter-tags">
        <div class="tags-container">
            <button class="filter-tag active">
                <span>全部招聘会</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-clock icon"></i>
                <span>即将开始</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-video icon"></i>
                <span>线上</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-map-marker-alt icon"></i>
                <span>线下</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-building icon"></i>
                <span>校园</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-briefcase icon"></i>
                <span>社会</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-laptop-code icon"></i>
                <span>IT互联网</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-money-check-alt icon"></i>
                <span>金融</span>
            </button>
        </div>
    </div>
    
    <!-- 招聘会列表 -->
    <div class="fair-list">
        <!-- 多图样式招聘会 -->
        <div class="fair-card multi-image">
            <div class="fair-image-container">
                <div class="fair-image">
                    <img src="https://picsum.photos/id/26/400/300" alt="招聘会现场">
                </div>
                <div class="fair-image">
                    <img src="https://picsum.photos/id/28/400/300" alt="招聘会现场">
                </div>
                <div class="fair-image">
                    <img src="https://picsum.photos/id/42/400/300" alt="招聘会现场">
                </div>
            </div>
            <div class="fair-content">
                <span class="fair-status status-upcoming">即将开始</span>
                <h3 class="fair-title">2023年秋季大型综合人才招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="fas fa-calendar-alt meta-icon"></i>
                        <span>10月28日 09:00-16:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-map-marker-alt meta-icon"></i>
                        <span>北京国际会议中心</span>
                    </div>
                </div>
                <div class="fair-organizer">
                    <div class="organizer-logo">
                        <img src="https://picsum.photos/id/64/100/100" alt="主办方Logo">
                    </div>
                    <span>北京市人才服务中心</span>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">综合类</span>
                    <span class="fair-tag">线下</span>
                    <span class="fair-tag">500+企业</span>
                </div>
                <p class="fair-desc">本次招聘会汇聚500+家优质企业，提供超过10000个就业岗位，涵盖IT、金融、教育、医疗等多个行业，满足不同求职者需求。</p>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>528家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>12543人已报名</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-briefcase"></i>
                        <span>10326个岗位</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-bell"></i>
                        <span>提醒我</span>
                    </button>
                    <button class="action-btn btn-primary">
                        <i class="fas fa-ticket-alt"></i>
                        <span>报名参加</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 单图样式招聘会 -->
        <div class="fair-card single-image">
            <div class="fair-image-container">
                <div class="fair-image">
                    <img src="https://picsum.photos/id/180/800/400" alt="线上招聘会">
                </div>
            </div>
            <div class="fair-content">
                <span class="fair-status status-live">正在进行</span>
                <h3 class="fair-title">2023互联网行业专场线上招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="fas fa-calendar-alt meta-icon"></i>
                        <span>10月25日 09:00-21:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-globe meta-icon"></i>
                        <span>线上直播</span>
                    </div>
                </div>
                <div class="fair-organizer">
                    <div class="organizer-logo">
                        <img src="https://picsum.photos/id/91/100/100" alt="主办方Logo">
                    </div>
                    <span>互联网人才交流协会</span>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">IT互联网</span>
                    <span class="fair-tag">线上</span>
                    <span class="fair-tag">名企</span>
                </div>
                <p class="fair-desc">本次线上招聘会邀请了BAT、字节跳动、美团等多家知名互联网企业参与，提供前端、后端、产品、设计等多个岗位，足不出户即可与HR在线沟通。</p>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>86家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>8752人已报名</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-eye"></i>
                        <span>32458人正在观看</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-share-square"></i>
                        <span>分享</span>
                    </button>
                    <button class="action-btn btn-primary">
                        <i class="fas fa-sign-in-alt"></i>
                        <span>进入会场</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 无图样式招聘会 -->
        <div class="fair-card no-image">
            <div class="fair-content">
                <span class="fair-status status-upcoming">即将开始</span>
                <h3 class="fair-title">2023金融行业精英人才专场招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="fas fa-calendar-alt meta-icon"></i>
                        <span>11月5日 10:00-17:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-map-marker-alt meta-icon"></i>
                        <span>上海金融中心</span>
                    </div>
                </div>
                <div class="fair-organizer">
                    <div class="organizer-logo">
                        <img src="https://picsum.photos/id/25/100/100" alt="主办方Logo">
                    </div>
                    <span>上海金融人才协会</span>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">金融</span>
                    <span class="fair-tag">线下</span>
                    <span class="fair-tag">高端</span>
                </div>
                <p class="fair-desc">汇聚国内外知名金融机构，为金融行业精英人才提供优质职业发展机会，涵盖银行、证券、保险、基金等多个领域。</p>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>126家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>3256人已报名</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-briefcase"></i>
                        <span>1856个岗位</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-bell"></i>
                        <span>提醒我</span>
                    </button>
                    <button class="action-btn btn-primary">
                        <i class="fas fa-ticket-alt"></i>
                        <span>报名参加</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 多图样式招聘会 -->
        <div class="fair-card multi-image">
            <div class="fair-image-container">
                <div class="fair-image">
                    <img src="https://picsum.photos/id/366/400/300" alt="校园招聘会">
                </div>
                <div class="fair-image">
                    <img src="https://picsum.photos/id/325/400/300" alt="校园招聘会">
                </div>
                <div class="fair-image">
                    <img src="https://picsum.photos/id/433/400/300" alt="校园招聘会">
                </div>
            </div>
            <div class="fair-content">
                <span class="fair-status status-upcoming">即将开始</span>
                <h3 class="fair-title">2024届高校毕业生校园招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="fas fa-calendar-alt meta-icon"></i>
                        <span>11月12日 09:00-15:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-map-marker-alt meta-icon"></i>
                        <span>清华大学体育馆</span>
                    </div>
                </div>
                <div class="fair-organizer">
                    <div class="organizer-logo">
                        <img src="https://picsum.photos/id/338/100/100" alt="主办方Logo">
                    </div>
                    <span>全国高校就业指导中心</span>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">校园</span>
                    <span class="fair-tag">线下</span>
                    <span class="fair-tag">应届生</span>
                </div>
                <p class="fair-desc">面向2024届高校毕业生的大型校园招聘会，邀请了众多知名企业参与，为毕业生提供丰富的就业选择和职业发展机会。</p>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>320家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>9856人已报名</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-briefcase"></i>
                        <span>8560个岗位</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-bell"></i>
                        <span>提醒我</span>
                    </button>
                    <button class="action-btn btn-primary">
                        <i class="fas fa-ticket-alt"></i>
                        <span>报名参加</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 无图样式招聘会 -->
        <div class="fair-card no-image">
            <div class="fair-content">
                <span class="fair-status status-ended">已结束</span>
                <h3 class="fair-title">2023秋季医疗行业专场招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="fas fa-calendar-alt meta-icon"></i>
                        <span>10月15日 09:00-16:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-map-marker-alt meta-icon"></i>
                        <span>北京国际展览中心</span>
                    </div>
                </div>
                <div class="fair-organizer">
                    <div class="organizer-logo">
                        <img src="https://picsum.photos/id/96/100/100" alt="主办方Logo">
                    </div>
                    <span>中国医疗人才协会</span>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">医疗</span>
                    <span class="fair-tag">线下</span>
                    <span class="fair-tag">专业</span>
                </div>
                <p class="fair-desc">专注于医疗健康行业的人才招聘会，汇聚了各大医院、医疗设备企业、医药公司等，为医疗行业人才提供专业的就业平台。</p>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>156家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>4258人参与</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-briefcase"></i>
                        <span>2156个岗位</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-file-alt"></i>
                        <span>查看回顾</span>
                    </button>
                    <button class="action-btn btn-primary" disabled>
                        <i class="fas fa-check"></i>
                        <span>已结束</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 空状态 -->
    <div class="empty-state">
        <div class="empty-icon">
            <i class="fas fa-search"></i>
        </div>
        <div class="empty-text">没有找到符合条件的招聘会</div>
        <button class="empty-action">清除筛选条件</button>
    </div>
    
    <!-- 筛选抽屉 -->
    <div class="overlay" id="filterOverlay"></div>
    <div class="filter-drawer" id="filterDrawer">
        <div class="drawer-header">
            <div class="drawer-title">筛选条件</div>
            <button class="close-drawer" id="closeDrawer">
                <i class="fas fa-times"></i>
            </button>
        </div>
        
        <div class="drawer-content">
            <div class="filter-section">
                <div class="filter-section-title">
                    <i class="fas fa-calendar-alt"></i>
                    <span>举办时间</span>
                </div>
                <div class="filter-options">
                    <button class="filter-option active">全部时间</button>
                    <button class="filter-option">今天</button>
                    <button class="filter-option">明天</button>
                    <button class="filter-option">本周内</button>
                    <button class="filter-option">下周</button>
                    <button class="filter-option">本月内</button>
                    <button class="filter-option">自定义</button>
                </div>
                <div class="date-range" style="display: none;">
                    <input type="date" class="date-input" id="startDate">
                    <input type="date" class="date-input" id="endDate">
                </div>
            </div>
            
            <div class="filter-section">
                <div class="filter-section-title">
                    <i class="fas fa-map-marker-alt"></i>
                    <span>举办地点</span>
                </div>
                <div class="filter-options">
                    <button class="filter-option active">全部地点</button>
                    <button class="filter-option">线上</button>
                    <button class="filter-option">北京</button>
                    <button class="filter-option">上海</button>
                    <button class="filter-option">广州</button>
                    <button class="filter-option">深圳</button>
                    <button class="filter-option">杭州</button>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="filter-section-title">
                    <i class="fas fa-industry"></i>
                    <span>行业类型</span>
                </div>
                <div class="filter-options">
                    <button class="filter-option active">全部行业</button>
                    <button class="filter-option">IT互联网</button>
                    <button class="filter-option">金融</button>
                    <button class="filter-option">教育</button>
                    <button class="filter-option">医疗</button>
                    <button class="filter-option">制造</button>
                    <button class="filter-option">零售</button>
                    <button class="filter-option">服务</button>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="filter-section-title">
                    <i class="fas fa-users"></i>
                    <span>招聘会类型</span>
                </div>
                <div class="filter-options">
                    <button class="filter-option active">全部类型</button>
                    <button class="filter-option">综合类</button>
                    <button class="filter-option">校园招聘</button>
                    <button class="filter-option">社会招聘</button>
                    <button class="filter-option">高端人才</button>
                    <button class="filter-option">应届生专场</button>
                </div>
            </div>
        </div>
        
        <div class="drawer-actions">
            <button class="drawer-btn reset-btn" id="resetFilters">重置</button>
            <button class="drawer-btn apply-btn" id="applyFilters">确认筛选</button>
        </div>
    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <a href="#" class="nav-item">
            <i class="fas fa-home nav-icon"></i>
            <span>首页</span>
        </a>
        <a href="#" class="nav-item active">
            <i class="fas fa-calendar-alt nav-icon"></i>
            <span>招聘会</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-briefcase nav-icon"></i>
            <span>职位</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-user nav-icon"></i>
            <span>我的</span>
        </a>
    </div>
    
    <!-- 提示消息元素 -->
    <div class="toast" id="toast"></div>
    
    <!-- Bootstrap JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // DOM元素
        const backBtn = document.getElementById('backBtn');
        const filterBtn = document.getElementById('filterBtn');
        const filterDrawer = document.getElementById('filterDrawer');
        const filterOverlay = document.getElementById('filterOverlay');
        const closeDrawer = document.getElementById('closeDrawer');
        const resetFiltersBtn = document.getElementById('resetFilters');
        const applyFiltersBtn = document.getElementById('applyFilters');
        const filterTags = document.querySelectorAll('.filter-tag');
        const filterOptions = document.querySelectorAll('.filter-option');
        const customDateOption = document.querySelector('.filter-option:nth-child(7)');
        const dateRange = document.querySelector('.date-range');
        const emptyState = document.querySelector('.empty-state');
        const fairList = document.querySelector('.fair-list');
        
        // 返回按钮
        backBtn.addEventListener('click', function() {
            history.back();
        });
        
        // 筛选抽屉控制
        filterBtn.addEventListener('click', function() {
            filterDrawer.classList.add('open');
            filterOverlay.classList.add('show');
        });
        
        closeDrawer.addEventListener('click', closeFilterDrawer);
        filterOverlay.addEventListener('click', closeFilterDrawer);
        
        function closeFilterDrawer() {
            filterDrawer.classList.remove('open');
            filterOverlay.classList.remove('show');
        }
        
        // 自定义日期选项切换
        customDateOption.addEventListener('click', function() {
            // 激活当前选项
            document.querySelectorAll('.filter-section:nth-child(1) .filter-option').forEach(option => {
                option.classList.remove('active');
            });
            this.classList.add('active');
            
            // 显示/隐藏日期选择器
            dateRange.style.display = this.classList.contains('active') ? 'flex' : 'none';
        });
        
        // 其他日期选项点击时隐藏自定义日期
        document.querySelectorAll('.filter-section:nth-child(1) .filter-option:not(:nth-child(7))').forEach(option => {
            option.addEventListener('click', function() {
                dateRange.style.display = 'none';
            });
        });
        
        // 筛选选项点击
        filterOptions.forEach(option => {
            option.addEventListener('click', function() {
                // 如果不是自定义日期选项，才进行组内单选
                if (!this.textContent.includes('自定义')) {
                    // 获取同一组的所有选项
                    const parentSection = this.closest('.filter-options');
                    parentSection.querySelectorAll('.filter-option').forEach(opt => {
                        opt.classList.remove('active');
                    });
                    
                    // 激活当前选项
                    this.classList.add('active');
                }
            });
        });
        
        // 重置筛选条件
        resetFiltersBtn.addEventListener('click', function() {
            // 重置所有筛选选项
            filterOptions.forEach(option => {
                option.classList.remove('active');
                if (option.textContent === '全部时间' || 
                    option.textContent === '全部地点' || 
                    option.textContent === '全部行业' || 
                    option.textContent === '全部类型') {
                    option.classList.add('active');
                }
            });
            
            // 隐藏日期选择器
            dateRange.style.display = 'none';
            
            // 重置标签筛选
            filterTags.forEach(tag => {
                tag.classList.remove('active');
                if (tag.textContent.includes('全部招聘会')) {
                    tag.classList.add('active');
                }
            });
            
            showToast('已重置筛选条件');
        });
        
        // 应用筛选条件
        applyFiltersBtn.addEventListener('click', function() {
            // 收集选中的筛选条件
            const selectedFilters = [];
            filterOptions.forEach(option => {
                if (option.classList.contains('active') && !option.textContent.includes('全部')) {
                    selectedFilters.push(option.textContent);
                }
            });
            
            // 处理自定义日期
            if (dateRange.style.display === 'flex') {
                const startDate = document.getElementById('startDate').value;
                const endDate = document.getElementById('endDate').value;
                if (startDate && endDate) {
                    selectedFilters.push(`自定义日期: ${startDate} 至 ${endDate}`);
                }
            }
            
            closeFilterDrawer();
            showToast(`已应用 ${selectedFilters.length} 个筛选条件`);
            
            // 模拟筛选结果（实际应用中应根据条件过滤列表）
            updateFairList(selectedFilters.length);
        });
        
        // 快捷筛选标签点击
        filterTags.forEach(tag => {
            tag.addEventListener('click', function() {
                // 如果是"全部招聘会"，取消其他所有选中状态
                if (this.textContent.includes('全部招聘会')) {
                    filterTags.forEach(t => t.classList.remove('active'));
                    this.classList.add('active');
                    showToast('已显示全部招聘会');
                } else {
                    // 取消"全部招聘会"的选中状态
                    filterTags.forEach(t => {
                        if (t.textContent.includes('全部招聘会')) {
                            t.classList.remove('active');
                        }
                    });
                    
                    // 切换当前标签状态
                    this.classList.toggle('active');
                    
                    // 统计选中的筛选条件
                    const activeCount = document.querySelectorAll('.filter-tag.active').length;
                    showToast(`已选择 ${activeCount} 个筛选条件`);
                }
                
                // 模拟筛选结果
                const activeCount = document.querySelectorAll('.filter-tag.active').length;
                updateFairList(activeCount);
            });
        });
        
        // 更新招聘会列表显示
        function updateFairList(filterCount) {
            // 模拟筛选效果：当筛选条件较多时，显示较少的结果
            const fairCards = document.querySelectorAll('.fair-card');
            let visibleCount = 0;
            
            fairCards.forEach((card, index) => {
                if (filterCount > 2 && index > 1) {
                    card.style.display = 'none';
                } else if (filterCount > 0 && index > 3) {
                    card.style.display = 'none';
                } else {
                    card.style.display = 'block';
                    visibleCount++;
                }
            });
            
            // 显示空状态（如果没有可见项）
            if (visibleCount === 0) {
                fairList.style.display = 'none';
                emptyState.classList.add('active');
            } else {
                fairList.style.display = 'block';
                emptyState.classList.remove('active');
            }
        }
        
        // 空状态清除筛选按钮
        document.querySelector('.empty-action').addEventListener('click', function() {
            // 重置所有筛选条件
            filterTags.forEach(tag => {
                tag.classList.remove('active');
                if (tag.textContent.includes('全部招聘会')) {
                    tag.classList.add('active');
                }
            });
            
            filterOptions.forEach(option => {
                option.classList.remove('active');
                if (option.textContent === '全部时间' || 
                    option.textContent === '全部地点' || 
                    option.textContent === '全部行业' || 
                    option.textContent === '全部类型') {
                    option.classList.add('active');
                }
            });
            
            dateRange.style.display = 'none';
            
            // 显示所有招聘会
            document.querySelectorAll('.fair-card').forEach(card => {
                card.style.display = 'block';
            });
            
            fairList.style.display = 'block';
            emptyState.classList.remove('active');
            
            showToast('已清除所有筛选条件');
        });
        
        // 招聘会操作按钮
        document.querySelectorAll('.action-btn.btn-primary:not([disabled])').forEach(btn => {
            btn.addEventListener('click', function() {
                const actionText = this.querySelector('span').textContent;
                const fairTitle = this.closest('.fair-card').querySelector('.fair-title').textContent;
                
                if (actionText === '报名参加') {
                    showToast(`已成功报名 "${fairTitle}"`);
                    this.innerHTML = '<i class="fas fa-check"></i><span>已报名</span>';
                    this.classList.add('disabled');
                } else if (actionText === '进入会场') {
                    showToast(`正在进入 "${fairTitle}" 会场`);
                }
            });
        });
        
        // 提醒和分享按钮
        document.querySelectorAll('.action-btn.btn-outline').forEach(btn => {
            btn.addEventListener('click', function() {
                const actionText = this.querySelector('span').textContent;
                if (actionText === '提醒我') {
                    showToast('已设置提醒');
                    this.innerHTML = '<i class="fas fa-bell"></i><span>已提醒</span>';
                } else if (actionText === '分享') {
                    showToast('分享成功');
                } else if (actionText === '查看回顾') {
                    showToast('正在加载回顾内容');
                }
            });
        });
        
        // 提示消息功能
        function showToast(message) {
            const toast = document.getElementById('toast');
            toast.textContent = message;
            toast.classList.add('show');
            
            setTimeout(() => {
                toast.classList.remove('show');
            }, 2000);
        }
    </script>
</body>
</html>

